package com.hsy.linemoney.modules.tender.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.deparse.dpframe.ui.common.DPBusEvent;
import com.hsy.linemoney.R;
import com.hsy.linemoney.common.Consts;
import com.hsy.linemoney.modules.common.CommonBaseActivityWithSimpleActionBar;

public class TenderSuccessActivity extends CommonBaseActivityWithSimpleActionBar {
    private TextView continue_tender;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_tender_success);
        setTitle(R.string.txt_tender_success);

        continue_tender = F(R.id.continue_tender);
        continue_tender.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                DPBusEvent event = new DPBusEvent();
                event.what = Consts.BusEventCommands.FINISH_EXCHANGE_STEP_2_AND_3;
                postBusEvent(event);
                finish();
            }
        });
    }
}
